package com.weipai.springboot.model.api;

import java.util.List;
import java.util.Map;

/**
 * @author songmengqiang
 * @create 2018-09-06 11:22
 **/

public class GoodsItemResult {

    private ItemSearchProp searchProp;
    private List<String> brands;
    private List<Map<String,Object>> categoryList;
    private Integer total;
    private List<GoodsItem> items;
    private int sum;

    @Override
    public String toString() {
        return "GoodsItemResult{" +
                "searchProp=" + searchProp +
                ", brands=" + brands +
                ", categoryList=" + categoryList +
                ", total=" + total +
                ", items=" + items +
                ", sum=" + sum +
                '}';
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public List<Map<String, Object>> getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(List<Map<String, Object>> categoryList) {
        this.categoryList = categoryList;
    }

    public ItemSearchProp getSearchProp() {
        return searchProp;
    }

    public void setSearchProp(ItemSearchProp searchProp) {
        this.searchProp = searchProp;
    }

    public List<String> getBrands() {
        return brands;
    }

    public void setBrands(List<String> brands) {
        this.brands = brands;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<GoodsItem> getItems() {
        return items;
    }

    public void setItems(List<GoodsItem> items) {
        this.items = items;
    }
}
